//
//  HROrderCategoryModel.m
//  LoveBee
//
//  Created by wyzc on 16/6/20.
//  Copyright © 2016年 叶落知秋. All rights reserved.
//

#import "HROrderCategoryModel.h"

@implementation HROrderCategoryModel
-(instancetype)initWithDict:(NSDictionary *)dict
{
    self=[super init];
    if (self) {
        self.name=dict[@"name"];
        self.flag=dict[@"flag"];
        self.sort=[dict[@"sort"] intValue];
        self.iid=[dict[@"id"] intValue];
        
    }
    return self;
}

+(instancetype)modelWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}

@end
